//
//  SegmentCornerView.h
//  SegmentCornerView
//
//  Created by 宋飞龙 on 16/4/8.
//  Copyright © 2016年 宋飞龙. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^IndexChangeBlock)(NSInteger index);

@interface SegmentCornerView : UIView

@property (nonatomic, copy) IndexChangeBlock indexChangeBlock;
@property (nonatomic, copy) NSArray * titleDatas;

- (void)setIndexChangeBlock:(IndexChangeBlock)indexChangeBlock;

- (void)setTextDatas:(NSArray *)textArr;

- (void)setTitleDatas:(NSArray *)titleDatas  selectedIndex:(NSInteger)index;
@end
